package com.power.project.model.pageInfo;

import com.power.common.domain.BasePageInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 用户列表查询
 */

@Data
@ApiModel(value = "条件查询")
@EqualsAndHashCode(callSuper = false)
public class UserQueryPageInfo extends BasePageInfo {

    @ApiModelProperty(value = "用户名称")
    private String name;

    @ApiModelProperty(value = "标签id")
    private String tagId;

    @ApiModelProperty(value = "部门id")
    private String departmentId;

    @ApiModelProperty(value = "租户id")
    @NotNull
    @NotEmpty
    private String tenantId;
}